GScreenCapture v1.0
  This is a console program that should allow you to capture screenshots using a Gameshark/Pro Action Replay, similar to how the official utilities used to with Windows98.  Unlike the official utilites, you should be able to use this on Windows 200 and XP.  Source is provided ;*)

  This is offered as-is, and it's your own problem if it causes any damage to you or your neighbor's dog.  Don't intentionally break copyright laws, since you and you alone are responsible for your own actions.  This software was developed from hcs's generic comms interface (gsupload), so oodles of kudos to him.

  Firstly, place the inpout.dll in your WINDOWS/SYSTEM or WINDOWS/SYSTEM32 folder.  That little ditty allows this thing to access your LPT port without all the usual troubles associated with win2000/XP.

Required components:
-Interact cheat device v.3 or up (with parallel port on back)
	Depending on region, known as Gameshark, Pro Action Replay, etc.
-8MB expansion pak (allows GS to use code generator)
-Comms transfer cable
	(it's just a standard 25-pin printer extention cable) 
-This program and DLL
-Maybe a game or two...

---------------------

  In your GS main menu, turn code generator ON, then start the game.  This allows your PC to connect to the gameshark during play.

  Once you start the program, it will ask you to press a button to pause gameplay.  As soon as you press a button the game will enter PC control mode; play is halted and will not resume unless you exit the program with spacebar or take a screenshot.  Select a number and press enter.
  The menu allows you to capture either:
1: the current screen in the game
2: the last screen shown in the gameshark's code generator menu - if and only if you pressed the GS button to enter it!  Use this option while the game is playing, not in the GS menus.

  You may also advance to the next available frame, though a word of warning if you do.  It does take a moment to cut the connection and reconnect, so the "next available frame" is most likely several dozen to several hundred frames later.

  Only one compression type is supported - deflate - which dramatically reduces the size of the image files.  This is the same compression ordinarily used in png images, so most image editting programs will be able to open and interpret them (*cough* GIMP *cough*).  However, not all tiff viewers support it, such as the windows picture and fax viewer.  If you need something that is guaranteed to load on any viewer press 4 to change to raw image data.

  After choosing the image to take and setting any options you'll be asked for a filename.  Just type in a name; .tif is automatically appended to it.  Console programs tend to be stupid though, so it will put it into the same directory as the program.  

  While your image downloads it will pop up some information about it, and that counter actually is accurate ;*)  Once it finishes, play will automatically resume and your image will be ready to view.  Off with your mischief now...

---------------------

  There are several errors that can occur.
- If you are in the GS main menu the comms won't work.  You must exit to the game.

- Do not close the program unless it locked.  If your N64 is no longer responding, the little lit display will stop ticking around in a circle.  Otherwise, it will not be able to close the comms and will need to restart your N64.  If you really don't want to take a picture, select exit in the menu.
If it does lock, close the program, turn off your N64, and try again.
This is most prone to occur if you are using codes to run the code generator on a 8mb game. (ie: Mario Kart 64 - see below)

- Timeout errors can occur if the cable is not properly connected, you are in a GS menu, code generator is not on, or the stupid thing just isn't working right.  Check your cables, get into the game properly, and if all else fails turn the thing off and try again.  It has a somewhat long timeout timer (30 seconds, give or take) and at the end of it you will be able to exit safely.

- you may only capture a GSmenu screenshot if you entered the memory editor screen and returned to normal gameplay.  It will give you an image of the last screen displayed therein.

- some games require "enablers" or "keycodes" to play.  If you need or think you may need an enabler, you should look it up at some cheat site.  The most common enabler is DE000400 0000, and by using GSCC2k you can usually find the one you need.  There are documents on creating one manually as well.  Google, however, is your best bet.

- Keycodes are used by very few games, mostly Rare's and Nintendo's.  The game will not boot normally if it needs a keycode.  The list of games requiring kecodes are:
Diddy Kong Racing
1080 Snowboarding
Kobe Bryant In NBA Courtside
Banjo-Kazooie
MLB Featuring Ken Griffey Jr.
Ken Griffey Jr.'s Slugfest
Super Smash Bros.
Paper Mario

Yoshi's Story
Cruis'n World
F-Zero X

The Legend of Zelda: Ocarina of Time
The Legend of Zelda:Majora's Mask
Perfect Dark
Conkers Bad Fur Day
Jet Force Gemini
Also...

- not all games will run with memory editor on.  There are several ways to circumvent this, and although these aren't cure-alls, for 90% of the games you'll find at least one of them will work.

Some games only use a small part of the 8mb expansion pak for audio or video.  These include Rush2049, Command & Conquer, and Rouge Squadron.  Most state "Expansion Pak Enhanced" on the box or intro screens.
*to play certain "exp pak enhanced" games with memory editor:
	F0000319 0078


Games such as Perfect Dark (lo-res) and Pokemon Stadium 2 can only use memory editor if you disable the expansion pak. 
*to disable the expansion pack altogether:
either	F0000319 0040
or	EE000000 0000
or	DD000000 0000
or	CC000000 0000

  To capture images in Majora's Mask, Ocarina of Time, Perfect Dark (hi res), and possibly others you will need to use the PDtrainer.  This is specialized rom allowing the comms to run on games using the Zelda keycode, but is not provided here.

---------------------

Known Issues:
- Certain games expect to be severely distorted on screen, such as Rainbow 6.  They have screen aspects bordering on the ridiculous, and so objects that may appear round on screen will seem flattened.  The images are literal data extractions, but you can manually set the resolution with an image editing program to simulate the effect.  Since there are very few tiff interpreters that actually display images at the set screen resolution, it wasn't implemented here.  

- Not all interpreters will be kind and let you view deflated images.  Just save them as raw.

- Aliasing has not, and likely never will, be implemented.  On a related note, the extracted images ignore the alpha channel completely.  Including it without aliasing leaves a halo of sorts around all the various objects in the image.  Feel free to incorporate it if you like.

- Since I don't have a PAL television, this hasn't actually been tested with an Action Replay.  In theory it should work, but there isn't any real guarantee.  Let me know if you have any problems.

- This is a console application, so sorry ahead of time for the lack of directory support.

---------------------

-Zoinkity
nefariousdogooder@yahoo.com